package com.efeichong.project.domain.vo;

import com.efeichong.mapping.Mapping;
import com.efeichong.mapping.UseMode;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author lxk
 * @date 2020/12/7
 * @description
 */
@Setter
@Getter
public class RoleVoInfo extends SysRoleVo {
    @Mapping(poProperty = "sysMenus.id")
    private List<Long> sysMenuIds;

    @Mapping(poProperty = "sysMenus", useMode = UseMode.TO_VO)
    private List<SysMenuVo> sysMenuVos;
}
